<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no">
    <title>FLB录入列表页</title>
    <link rel="stylesheet" href="../css/api.css" />
    <link rel="stylesheet" href="../css/mis-info-entry.css" />
    <link rel="stylesheet" href="../fonts/iconfont/iconfont.css">

</head>
<body>
    <div id="app">
        <header>
            <a class="back" @click="goback"></a>
            <h1>FLB录入{{isProduct?'':'(测试环境)'}}</h1>
            <a class="upload-history" @click="uploadList">上传记录</a>
        </header>

        <div class="content-scroll">
            <div class="header-section">
                <span>录入列表</span>
                <a class="new" @click="newFldRecord">+ 新建</a>
                <a :class="['upload', {'disable':isDisable}]" @click="upload">上传</a>
            </div>
            <div class="list-content">
                <div class="list-title clearfix">
                    <span></span>
                    <span>飞行记录号</span>
                    <span>航班号</span>
                    <span>飞行日期</span>
                    <span>机号</span>
                    <span>机型</span>
                    <span>状态</span>
                    <span>操作</span>
                </div>
                <ul class="list">
                    <li v-for="(item, index) in listData" class="clearfix list-li" @click="onItemClick(index)">
                        <div>
                            <i v-show="item.status=='2'" :class="['iconfont', item.selected ? 'icon-selected1' : 'icon-Fill']" @click.stop="onSelectItem(item)"></i>
                        </div>
                        <div>{{item.logNo}}</div>
                        <div>{{item.flightNo}}</div>
                        <div>{{item.flightDate}}</div>
                        <div>{{item.acReg}}</div>
                        <div>{{item.acRegType}}</div>
                        <div v-if="item.status == '1'" class="state">编辑中</div>
                        <div v-if="item.status == '2'" class="state">待上传</div>
                        <div v-if="item.status == '3'" class="state">已上传</div>
                        <div v-show="!item.releLogNo" class="copy-new" @click.stop="copyCreate(item)"><span>复制新建</span></div>
                        <div class="btn" @click.stop="deleteItem(index)">删除</div>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!-- <script src="../script/config/require.config.js"></script>
    <script src="../script/lib/require.js"></script>
    <script type="text/javascript" src="../script/lib/zepto.min.js"></script>
    <script type="text/javascript" src="../script/modules/touchWipe.js"></script>
    <script src="../script/flb-list.js"></script> -->

</body>
</html>
